/**
 * 通知公告
 */

import React, { Component } from 'react';
import {
  StyleSheet,
  Text,
  View, Image
} from 'react-native';

export default class extends Component {
  render() {
    return (
      <View style={styles.container}>
        <Image source={{ uri: 'icon_home_notice' }} style={{ width: 33, height: 33 }}/>
        <Text style={styles.noticeInfo}>
          关于做好端午节期间安全
        </Text>
      </View>
    );
  }
}

const styles = StyleSheet.create({
  container: {
    flexDirection: 'row',
    justifyContent: 'flex-start',
    backgroundColor: '#fff',
    width: '100%',
    paddingLeft: 5
  },
  noticeInfo: {
    flex: 1,
    paddingLeft: 5,
    justifyContent: 'center',
    fontSize: 16,
    lineHeight: 25,
    textAlign: 'left',
    // borderLeftColor: 'black',
    // borderLeftWidth: 2,
    color:'#2f2f2f',

    fontWeight:'500'
  }

});

